package IP

import (
	"context"
	"gitee.com/tools/internal/domain"
)

type Ip interface {
	QueryIp(ctx context.Context, ip string) (domain.IpInfo, error)
	QueryPhone(ctx context.Context, mobile string, status string) (domain.MPhone, error)
	QueryCountryCode(ctx context.Context, words string, t string) (domain.CountryCode, error)
	QueryDns(ctx context.Context, data domain.Dns) (string, error)
	QueryDomainWeight(ctx context.Context, d string) (domain.DomainWeight, error)
}
